/**    
 * @{#} Permission.java Create on 2012-6-6 下午11:41:47    
 *    
 * Copyright (c) 2012 by 悠忧虫.    
 *    
 * @author 悠忧虫
 * @version 1.0    
 */
package tk.sunlatus.project.permission.domain;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

/**
 * @{# Permission.java Create on 2012-6-6 下午11:41:47
 * 
 *     类功能说明:
 * 
 *     <p>
 *     Copyright: Copyright(c) 2012
 *     </p>
 * @Version 1.0
 * @Author 悠忧虫
 */
public class Permission {

    // 权限ID
    private String ID;

    // 权限类型
    private int type;

    // 权限描述
    private String commentary;

    public String getID() {
        return ID;
    }

    public void setID(String iD) {
        ID = iD;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getCommentary() {
        return commentary;
    }

    public void setCommentary(String commentary) {
        this.commentary = commentary;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }
}
